package com.ruoyi.device.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 报警记录对象 alarm_rule_log
 * 
 * @author li
 * @date 2025-09-19
 */
@Data
public class AlarmRuleLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 规则id */
    @Excel(name = "规则id")
    private Long ruleId;

    /** 报警设备id */
    @Excel(name = "报警设备id")
    private String deviceId;

    /** 报警设备名称 */
    @Excel(name = "报警设备名称")
    private String deviceName;

    /** 状态（0未处理，1已处理） */
    @Excel(name = "状态", readConverterExp = "0=未处理，1已处理")
    private Long state;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String actionResult;

    /** 报警规则名称 */
    private String ruleName;

    /** 逻辑删除(0:未删除,1:已删除) */
    private Long delFlag;
}
